class Student(object):
    count = 0

    def __init__(self, name):
        self.name = name
        Student.count += 1






a = Student('gg')
print(a.count, a.name)

b = Student('dd')
print(b.count)


c = Student('ccc')
print(c.count)


# 针对每个实例对 共有类属性的修改